import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
import Home1 from "@/pages/Home1.vue";
import Home2 from "@/pages/Home2.vue";
import Visit from "@/pages/Visit.vue";


const routes: Array<RouteRecordRaw> = [
  { path: "/", component: Home1 },
  { path: "/home2", component: Home2 },
  { path: "/test", component: Text },
  { path: "/visit", component: Visit },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
